/**
 * 得到postUrl的网址
 */
export function getPostUrl(processInstId,number) {
  let portUrl = ""
  let isTest = process.env.NODE_ENV.indexOf('development')
  if (isTest>=0){// 是测试版
    portUrl = 'http://bpmuat.zberpnc.com/portal/r/w?cmd=com.zb.common.sso_openForm'
  }else{// 是正式版
    portUrl = 'http://pal.zhengbang.com/portal/r/w?cmd=com.zb.common.sso_openForm'
  }
  return portUrl + "&processInstId=" + processInstId + "&uid=" + number + "&ismobile=false" + "&ssoLogin=true";
}
export function getPortUrl(processInstId,number) {
  return getPostUrl(processInstId,number)
}
export function generatePortUrl(processInstId,number) {
  return getPostUrl(processInstId,number)
}
